//
//  ChainShareManager.h
//  Chain
//
//  Created by zhaosh on 2018/4/18.
//  Copyright © 2018年 zhaosh. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UMSocialManager.h"
#import <UMShare/UMShare.h>

@interface ChainShareManager : UIViewController

+(ChainShareManager *)shareChainShareManager;

- (void)shareWebPageToPlatformType:(UMSocialPlatformType)platformType
                      andShareTitle:(NSString *)shareTitle
                      andShareText:(NSString *)shareText
                       andShareUrl:(NSString *)shareUrl
                   andSuccessBlock:(void (^) (id data))successBlock
                      andFailBlock:(void (^) (NSError *error))failBlock;
@end
